﻿@if(Request.IsAuthenticated) {
	<text>Welcome <strong>@User.Identity.Name</strong>!
	[ @Html.ActionLink("Log Off", "LogOff", "Account") - 
		@if (!Request.Path.ToLower().StartsWith("/private")) 
		{
			@Html.ActionLink("Back-end", "Index", "BackEnd") 
		}
		else 
		{
			@Html.RouteLink("Home", "Root");
		}]</text>
}
else {
	@:[ @Html.ActionLink("Login", "LogOn", "Account")]
}
